const App = getApp();
Component({
  properties: {
    shopitem: {
      type: Object,
      value: {}
    }
  },
  methods: {
    goDetailFun: function (event) {
      wx.navigateTo({
        url: "/pages/index/sonpages/goods-detail/index?goodsId=" + event.currentTarget.dataset.goodsid
      });
    }
  },
})